package com.smart.home.multi;

import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;

/**
 * EventLoopGroup 工厂类
 *
 * @author zhangpeng
 * @version 1.0
 * @date 2017-03-22
 */
public abstract class GroupFactory {

    private static EventLoopGroup group;

    static {
        group = new NioEventLoopGroup();
    }

    public static EventLoopGroup getInstance(){
        return group;
    }

}
